三星Galaxy S20:打开手势并更改导航栏按钮顺序

Samsung Galaxy S20 Navigation Bar Settings Menu
Justin Duino
贾斯汀·杜伊诺(Justin Duino)

Android 10 introduced a gesture-based navigation system that did away with on-screen buttons. Instead of using Google’s controls, Samsung stuck with the three-button setup (with the Back on the right side). Fortunately, you can turn on gesture navigation (and swap the button order) on the Galaxy S20, S20+, and S20 Ultra.

Android 10引入了基于手势的导航系统,该系统取消了屏幕上的按钮。 三星没有使用Google的控件,而是坚持使用三键设置(“后退”位于右侧)。 幸运的是,您可以在Galaxy S20 ,S20 +和S20 Ultra上打开手势导航(并交换按钮顺序)。

开启手势导航 (Turn on Gesture Navigation)

Start by opening the Galaxy S20’s Settings menu. The easiest way to do this is by swiping down from the top of the screen to pull down the notification panel. From there, tap on the Gear icon found in the top-right corner.

首先打开Galaxy S20的“设置”菜单。 最简单的方法是从屏幕顶部向下滑动以下拉通知面板 。 在此处,点击右上角的齿轮图标。

Alternatively, you can swipe up from the Home screen to open the app drawer. You can either use the search bar at the top of the screen or swipe through the pages until you locate the “Settings” app.

或者,您可以从主屏幕向上滑动以打开应用程序抽屉。 您可以使用屏幕顶部的搜索栏,也可以在页面上滑动,直到找到“设置”应用。

Samsung Galaxy S20 Select the Settings Gear Icon

Next, scroll up and then select the “Display” option. This menu is also where you can turn on your phone’s 120Hz display.

接下来,向上滚动,然后选择“显示”选项。 您也可以此菜单上打开手机的120Hz显示屏

Samsung Galaxy S20 Select the "Display" Option

Here, you’ll find the “Navigation Bar” button. Tap on it.

在这里,您会找到“导航栏”按钮。 点击它。

Samsung Galaxy S20 Select the "Navigation Bar" button

Select the “Full Screen Gestures” option to switch from the three-button layout to Google’s gesture navigation system. You can then tap on the “More Options” button if you want to change to Samsung’s gesture setup or fine-tune the back swipe sensitivity.

选择“全屏手势”选项,从三键布局切换到Google的手势导航系统。 然后,如果您想更改为三星的手势设置或微调后向滑动灵敏度,则可以点击“更多选项”按钮。

Samsung Galaxy S20 Select Full Screen Gestures and then "More Opions"

Google’s gestures allow you to go Home but quickly swiping up from the bottom of the screen, open the Recents menu by swiping up and holding, and going Back by swiping inward from either edge. Samsung’s system allows you to swipe up from three designated sections of the screen to go Back, Home, or launch Recents. Choose whichever setup best suits your needs.

Google的手势可让您返回主屏幕,但可以从屏幕底部快速向上滑动,向上滑动并按住不放可打开“最近使用”菜单,而从任一边缘向内滑动则可返回上一步。 三星的系统允许您从屏幕的三个指定部分向上滑动,以返回,进入主页或启动“最近的活动”。 选择最适合您需求的设置。

And finally, change your Galaxy S20’s back gesture sensitivity by moving the bar closer to lower or higher. Samsung recommends lowing the setting if you repeatedly activate the Back gesture on accident.

最后,通过将导航条移至更低或更高来更改Galaxy S20的后向手势灵敏度。 如果您意外激活后退手势,三星建议降低设置。

Samsung Galaxy S20 Select Gesture Types and Custom Settings

After you enable gesture navigation, you will likely notice that the bar icon at the bottom of your screen will partially break Dark mode. You can fix this by hiding the bar completely. To do this, go back to the “Navigation Bar” menu and toggle off “Gesture Hints.”

启用手势导航后,您可能会注意到屏幕底部的条形图标将部分中断“暗”模式 。 您可以通过完全隐藏栏来解决此问题。 为此,请返回“导航栏”菜单并关闭“手势提示”。

Samsung Galaxy S20 Select Gesture Hints Toggle

更改导航栏按钮顺序 (Change the Navigation Bar Button Order)

If you want to keep the three on-screen navigation buttons but what to reverse the order so that the Back button is on the left side of the screen, you can. As before, start by jumping into the Settings menu.

如果要保留三个屏幕上的导航按钮,但要颠倒顺序,以使“后退”按钮位于屏幕的左侧,则可以。 和以前一样,首先跳到“设置”菜单。

The easiest way to do this is by pulling down the notification tray and tapping on the Gear icon. You can also swipe up from the Home screen to open the app drawer and then tap on the “Settings” app.

最简单的方法是拉下通知托盘并点击Gear图标。 您也可以从主屏幕向上滑动以打开应用程序抽屉,然后点击“设置”应用程序。

Samsung Galaxy S20 Select the Settings Gear Icon

Next, scroll down and select the “Display” option.

接下来,向下滚动并选择“显示”选项。

Samsung Galaxy S20 Select the "Display" Option

From there, tap on the “Navigation Bar” listing.

从那里,点击“导航栏”列表。

Samsung Galaxy S20 Select the "Navigation Bar" button

Finally, select the button order that you’d like to use on your Samsung Galaxy S20. The change will take place the moment you tap on the corresponding option.

最后,选择要在Samsung Galaxy S20上使用的按钮顺序。 更改将在您点击相应选项时进行。

Samsung Galaxy S20 Select the Button Order

翻译自: https://www.howtogeek.com/660147/samsung-galaxy-s20-turning-on-gestures-and-changing-navigation-bar-button-order/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
根据您的描述,需要使用凌阳16位单片机实验箱来控制SPLC501液晶显示器的显示,并且需要通过两个键盘S20和S21来控制文字的上下移动。 首先,需要将SPLC501液晶显示器连接到凌阳16位单片机实验箱上。连接方式如下: - 将SPLC501液晶显示器的VSS引脚连接到实验箱的GND引脚。 - 将SPLC501液晶显示器的VDD引脚连接到实验箱的5V引脚。 - 将SPLC501液晶显示器的V0引脚连接到实验箱的变阻器中。 - 将SPLC501液晶显示器的RS引脚连接到实验箱的P0.0引脚。 - 将SPLC501液晶显示器的RW引脚连接到实验箱的P0.1引脚。 - 将SPLC501液晶显示器的E引脚连接到实验箱的P0.2引脚。 - 将SPLC501液晶显示器的D0-D7引脚分别连接到实验箱的P2.0-P2.7引脚。 接下来,需要编写程序来控制SPLC501液晶显示器的显示和键盘的控制。程序示例如下: ``` #include <reg52.h> sbit S20 = P1^0; // S20键连接到P1.0引脚 sbit S21 = P1^1; // S21键连接到P1.1引脚 void delay(unsigned int t) // 延时函数 { unsigned int i,j; for(i=0;i<t;i++) for(j=0;j<120;j++); } void lcd_write_cmd(unsigned char cmd) // 写入命令函数 { LCD_RS = 0; // 将RS引脚置为0,表示写入命令 LCD_RW = 0; // 将RW引脚置为0,表示写入操作 LCD_E = 1; // 将E引脚置为1 LCD_DATA = cmd; // 将命令写入数据总线 delay(1); // 稍微延时一下 LCD_E = 0; // 将E引脚置为0 } void lcd_write_data(unsigned char dat) // 写入数据函数 { LCD_RS = 1; // 将RS引脚置为1,表示写入数据 LCD_RW = 0; // 将RW引脚置为0,表示写入操作 LCD_E = 1; // 将E引脚置为1 LCD_DATA = dat; // 将数据写入数据总线 delay(1); // 稍微延时一下 LCD_E = 0; // 将E引脚置为0 } void lcd_init() // 初始化函数 { lcd_write_cmd(0x38); // 设置显示模式为16×2,5×7点阵 lcd_write_cmd(0x0c); // 打开显示,光标关闭,光标闪烁关闭 lcd_write_cmd(0x06); // 光标右移,字符不移动 lcd_write_cmd(0x01); // 清屏 } void lcd_display(unsigned char *str) // 显示函数 { unsigned char i; for(i=0;str[i]!='\0';i++) // 循环显示字符串 { lcd_write_data(str[i]); } } void main() { unsigned char text[] = "Hello, World!"; // 要显示的文字 lcd_init(); // 初始化液晶显示器 lcd_display(text); // 显示文字 while(1) // 循环等待按键 { if(S20 == 0) // 如果按下S20键 { lcd_write_cmd(0x1c); // 将显示内容下移一行 while(S20 == 0); // 等待S20键松开 } if(S21 == 0) // 如果按下S21键 { lcd_write_cmd(0x18); // 将显示内容上移一行 while(S21 == 0); // 等待S21键松开 } } } ``` 在上面的程序中,我们定义了两个键盘S20和S21,并且编写了相应的代码来控制文字的上下移动。在主函数中,我们调用了lcd_init函数来初始化液晶显示器,然后调用lcd_display函数来显示要显示的文字。最后,我们使用一个无限循环来等待按键的操作,并且根据按键的情况调用lcd_write_cmd函数来控制文字的上下移动。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值